#-------------------------------------------------
#
# Project created by QtCreator 2012-05-21T17:04:54
#
#-------------------------------------------------

QT       -= gui

TARGET = I2CHandler
TEMPLATE = lib

DEFINES += I2CHANDLER_LIBRARY

SOURCES += i2chandler.cpp

HEADERS += i2chandler.h

linux-arm-gnueabi-g++{
    LIBS += -L$$PWD/../../libARM/qextserialport/ -lqextserialport-1.2 \
            -L$$PWD/../../libARM/libftdi/ -lftdi
}else{
    HARDWARE_PLATFORM = $$system(uname -m)
    message(Platform: $$HARDWARE_PLATFORM)
    contains( HARDWARE_PLATFORM, x86_64 ) {
        LIBS += -L$$PWD/../../lib/qextserialport/ -lqextserialport-1.2
    } else  {
        LIBS += -L$$PWD/../../lib32/qextserialport/ -lqextserialport-1.2
    }
}


INCLUDEPATH += $$PWD/../../include/libftdi \
                $$PWD/../../include
DEPENDPATH += $$PWD/../../include/libftdi
